import request from '@/utils/http'

const baseUrl = process.env.VUE_APP_GOV_URL

const api = {
  login: baseUrl + '/ranking/get_login_ranking_list',
  feedback: baseUrl + '/ranking/get_feedback_ranking_list'
}

export function getLoginApi (params) {
  return request({
    url: api.login,
    method: 'post',
    data: params
  })
}

export function getFeedBackApi (params) {
  return request({
    url: api.feedback,
    method: 'post',
    data: params
  })
}
